package com.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName Banci
 * @Description mybatis持久层数据操作班次表搜索条件及排序封装扩展类
 */
public class BanciExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BanciExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBianhaoIsNull() {
            addCriterion("bianhao is null");
            return (Criteria) this;
        }

        public Criteria andBianhaoIsNotNull() {
            addCriterion("bianhao is not null");
            return (Criteria) this;
        }

        public Criteria andBianhaoEqualTo(String value) {
            addCriterion("bianhao =", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoNotEqualTo(String value) {
            addCriterion("bianhao <>", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoGreaterThan(String value) {
            addCriterion("bianhao >", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoGreaterThanOrEqualTo(String value) {
            addCriterion("bianhao >=", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoLessThan(String value) {
            addCriterion("bianhao <", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoLessThanOrEqualTo(String value) {
            addCriterion("bianhao <=", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoLike(String value) {
            addCriterion("bianhao like", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoNotLike(String value) {
            addCriterion("bianhao not like", value, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoIn(List<String> values) {
            addCriterion("bianhao in", values, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoNotIn(List<String> values) {
            addCriterion("bianhao not in", values, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoBetween(String value1, String value2) {
            addCriterion("bianhao between", value1, value2, "bianhao");
            return (Criteria) this;
        }

        public Criteria andBianhaoNotBetween(String value1, String value2) {
            addCriterion("bianhao not between", value1, value2, "bianhao");
            return (Criteria) this;
        }
        public Criteria andLeibieidIsNull() {
            addCriterion("leibieid is null");
            return (Criteria) this;
        }

        public Criteria andLeibieidIsNotNull() {
            addCriterion("leibieid is not null");
            return (Criteria) this;
        }

        public Criteria andLeibieidEqualTo(Integer value) {
            addCriterion("leibieid =", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidNotEqualTo(Integer value) {
            addCriterion("leibieid <>", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidGreaterThan(Integer value) {
            addCriterion("leibieid >", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidGreaterThanOrEqualTo(Integer value) {
            addCriterion("leibieid >=", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidLessThan(Integer value) {
            addCriterion("leibieid <", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidLessThanOrEqualTo(Integer value) {
            addCriterion("leibieid <=", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidLike(Integer value) {
            addCriterion("leibieid like", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidNotLike(Integer value) {
            addCriterion("leibieid not like", value, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidIn(List<Integer> values) {
            addCriterion("leibieid in", values, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidNotIn(List<Integer> values) {
            addCriterion("leibieid not in", values, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidBetween(Integer value1, Integer value2) {
            addCriterion("leibieid between", value1, value2, "leibieid");
            return (Criteria) this;
        }

        public Criteria andLeibieidNotBetween(Integer value1, Integer value2) {
            addCriterion("leibieid not between", value1, value2, "leibieid");
            return (Criteria) this;
        }
        public Criteria andQishizhanIsNull() {
            addCriterion("qishizhan is null");
            return (Criteria) this;
        }

        public Criteria andQishizhanIsNotNull() {
            addCriterion("qishizhan is not null");
            return (Criteria) this;
        }

        public Criteria andQishizhanEqualTo(String value) {
            addCriterion("qishizhan =", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanNotEqualTo(String value) {
            addCriterion("qishizhan <>", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanGreaterThan(String value) {
            addCriterion("qishizhan >", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanGreaterThanOrEqualTo(String value) {
            addCriterion("qishizhan >=", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanLessThan(String value) {
            addCriterion("qishizhan <", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanLessThanOrEqualTo(String value) {
            addCriterion("qishizhan <=", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanLike(String value) {
            addCriterion("qishizhan like", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanNotLike(String value) {
            addCriterion("qishizhan not like", value, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanIn(List<String> values) {
            addCriterion("qishizhan in", values, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanNotIn(List<String> values) {
            addCriterion("qishizhan not in", values, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanBetween(String value1, String value2) {
            addCriterion("qishizhan between", value1, value2, "qishizhan");
            return (Criteria) this;
        }

        public Criteria andQishizhanNotBetween(String value1, String value2) {
            addCriterion("qishizhan not between", value1, value2, "qishizhan");
            return (Criteria) this;
        }
        public Criteria andZhongdianzhanIsNull() {
            addCriterion("zhongdianzhan is null");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanIsNotNull() {
            addCriterion("zhongdianzhan is not null");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanEqualTo(String value) {
            addCriterion("zhongdianzhan =", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanNotEqualTo(String value) {
            addCriterion("zhongdianzhan <>", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanGreaterThan(String value) {
            addCriterion("zhongdianzhan >", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanGreaterThanOrEqualTo(String value) {
            addCriterion("zhongdianzhan >=", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanLessThan(String value) {
            addCriterion("zhongdianzhan <", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanLessThanOrEqualTo(String value) {
            addCriterion("zhongdianzhan <=", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanLike(String value) {
            addCriterion("zhongdianzhan like", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanNotLike(String value) {
            addCriterion("zhongdianzhan not like", value, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanIn(List<String> values) {
            addCriterion("zhongdianzhan in", values, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanNotIn(List<String> values) {
            addCriterion("zhongdianzhan not in", values, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanBetween(String value1, String value2) {
            addCriterion("zhongdianzhan between", value1, value2, "zhongdianzhan");
            return (Criteria) this;
        }

        public Criteria andZhongdianzhanNotBetween(String value1, String value2) {
            addCriterion("zhongdianzhan not between", value1, value2, "zhongdianzhan");
            return (Criteria) this;
        }
        public Criteria andQishishijianIsNull() {
            addCriterion("qishishijian is null");
            return (Criteria) this;
        }

        public Criteria andQishishijianIsNotNull() {
            addCriterion("qishishijian is not null");
            return (Criteria) this;
        }

        public Criteria andQishishijianEqualTo(String value) {
            addCriterion("qishishijian =", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianNotEqualTo(String value) {
            addCriterion("qishishijian <>", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianGreaterThan(String value) {
            addCriterion("qishishijian >", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianGreaterThanOrEqualTo(String value) {
            addCriterion("qishishijian >=", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianLessThan(String value) {
            addCriterion("qishishijian <", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianLessThanOrEqualTo(String value) {
            addCriterion("qishishijian <=", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianLike(String value) {
            addCriterion("qishishijian like", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianNotLike(String value) {
            addCriterion("qishishijian not like", value, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianIn(List<String> values) {
            addCriterion("qishishijian in", values, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianNotIn(List<String> values) {
            addCriterion("qishishijian not in", values, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianBetween(String value1, String value2) {
            addCriterion("qishishijian between", value1, value2, "qishishijian");
            return (Criteria) this;
        }

        public Criteria andQishishijianNotBetween(String value1, String value2) {
            addCriterion("qishishijian not between", value1, value2, "qishishijian");
            return (Criteria) this;
        }
        public Criteria andDaodashijianIsNull() {
            addCriterion("daodashijian is null");
            return (Criteria) this;
        }

        public Criteria andDaodashijianIsNotNull() {
            addCriterion("daodashijian is not null");
            return (Criteria) this;
        }

        public Criteria andDaodashijianEqualTo(String value) {
            addCriterion("daodashijian =", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianNotEqualTo(String value) {
            addCriterion("daodashijian <>", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianGreaterThan(String value) {
            addCriterion("daodashijian >", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianGreaterThanOrEqualTo(String value) {
            addCriterion("daodashijian >=", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianLessThan(String value) {
            addCriterion("daodashijian <", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianLessThanOrEqualTo(String value) {
            addCriterion("daodashijian <=", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianLike(String value) {
            addCriterion("daodashijian like", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianNotLike(String value) {
            addCriterion("daodashijian not like", value, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianIn(List<String> values) {
            addCriterion("daodashijian in", values, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianNotIn(List<String> values) {
            addCriterion("daodashijian not in", values, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianBetween(String value1, String value2) {
            addCriterion("daodashijian between", value1, value2, "daodashijian");
            return (Criteria) this;
        }

        public Criteria andDaodashijianNotBetween(String value1, String value2) {
            addCriterion("daodashijian not between", value1, value2, "daodashijian");
            return (Criteria) this;
        }
        public Criteria andRiqiIsNull() {
            addCriterion("riqi is null");
            return (Criteria) this;
        }

        public Criteria andRiqiIsNotNull() {
            addCriterion("riqi is not null");
            return (Criteria) this;
        }

        public Criteria andRiqiEqualTo(String value) {
            addCriterion("riqi =", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiNotEqualTo(String value) {
            addCriterion("riqi <>", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiGreaterThan(String value) {
            addCriterion("riqi >", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiGreaterThanOrEqualTo(String value) {
            addCriterion("riqi >=", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiLessThan(String value) {
            addCriterion("riqi <", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiLessThanOrEqualTo(String value) {
            addCriterion("riqi <=", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiLike(String value) {
            addCriterion("riqi like", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiNotLike(String value) {
            addCriterion("riqi not like", value, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiIn(List<String> values) {
            addCriterion("riqi in", values, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiNotIn(List<String> values) {
            addCriterion("riqi not in", values, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiBetween(String value1, String value2) {
            addCriterion("riqi between", value1, value2, "riqi");
            return (Criteria) this;
        }

        public Criteria andRiqiNotBetween(String value1, String value2) {
            addCriterion("riqi not between", value1, value2, "riqi");
            return (Criteria) this;
        }
        public Criteria andJiageIsNull() {
            addCriterion("jiage is null");
            return (Criteria) this;
        }

        public Criteria andJiageIsNotNull() {
            addCriterion("jiage is not null");
            return (Criteria) this;
        }

        public Criteria andJiageEqualTo(Integer value) {
            addCriterion("jiage =", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotEqualTo(Integer value) {
            addCriterion("jiage <>", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageGreaterThan(Integer value) {
            addCriterion("jiage >", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageGreaterThanOrEqualTo(Integer value) {
            addCriterion("jiage >=", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageLessThan(Integer value) {
            addCriterion("jiage <", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageLessThanOrEqualTo(Integer value) {
            addCriterion("jiage <=", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageLike(Integer value) {
            addCriterion("jiage like", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotLike(Integer value) {
            addCriterion("jiage not like", value, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageIn(List<Integer> values) {
            addCriterion("jiage in", values, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotIn(List<Integer> values) {
            addCriterion("jiage not in", values, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageBetween(Integer value1, Integer value2) {
            addCriterion("jiage between", value1, value2, "jiage");
            return (Criteria) this;
        }

        public Criteria andJiageNotBetween(Integer value1, Integer value2) {
            addCriterion("jiage not between", value1, value2, "jiage");
            return (Criteria) this;
        }
        public Criteria andShuliangIsNull() {
            addCriterion("shuliang is null");
            return (Criteria) this;
        }

        public Criteria andShuliangIsNotNull() {
            addCriterion("shuliang is not null");
            return (Criteria) this;
        }

        public Criteria andShuliangEqualTo(Integer value) {
            addCriterion("shuliang =", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotEqualTo(Integer value) {
            addCriterion("shuliang <>", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangGreaterThan(Integer value) {
            addCriterion("shuliang >", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangGreaterThanOrEqualTo(Integer value) {
            addCriterion("shuliang >=", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLessThan(Integer value) {
            addCriterion("shuliang <", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLessThanOrEqualTo(Integer value) {
            addCriterion("shuliang <=", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLike(Integer value) {
            addCriterion("shuliang like", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotLike(Integer value) {
            addCriterion("shuliang not like", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangIn(List<Integer> values) {
            addCriterion("shuliang in", values, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotIn(List<Integer> values) {
            addCriterion("shuliang not in", values, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangBetween(Integer value1, Integer value2) {
            addCriterion("shuliang between", value1, value2, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotBetween(Integer value1, Integer value2) {
            addCriterion("shuliang not between", value1, value2, "shuliang");
            return (Criteria) this;
        }
        public Criteria andBeizhuIsNull() {
            addCriterion("beizhu is null");
            return (Criteria) this;
        }

        public Criteria andBeizhuIsNotNull() {
            addCriterion("beizhu is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhuEqualTo(String value) {
            addCriterion("beizhu =", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotEqualTo(String value) {
            addCriterion("beizhu <>", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThan(String value) {
            addCriterion("beizhu >", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThanOrEqualTo(String value) {
            addCriterion("beizhu >=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThan(String value) {
            addCriterion("beizhu <", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThanOrEqualTo(String value) {
            addCriterion("beizhu <=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLike(String value) {
            addCriterion("beizhu like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotLike(String value) {
            addCriterion("beizhu not like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuIn(List<String> values) {
            addCriterion("beizhu in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotIn(List<String> values) {
            addCriterion("beizhu not in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuBetween(String value1, String value2) {
            addCriterion("beizhu between", value1, value2, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotBetween(String value1, String value2) {
            addCriterion("beizhu not between", value1, value2, "beizhu");
            return (Criteria) this;
        }

    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
